// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
//self
import store from "../store";
import lyDirective from '../directives/index'
//self
Vue.use(lyDirective);

import Vue from 'vue'
import App from './App.vue';
import router from './router'
import ElementUI from 'element-ui';
import axios from 'axios';
import VueAxios from 'vue-axios'
import 'element-ui/lib/theme-chalk/index.css';
import settings from "../settings";
import qs from 'qs';

axios.defaults.withCredentials=true;
Vue.config.debug = true;
Vue.prototype.$settings = settings;
Vue.prototype.qs = qs

// axios.defaults.withCredentials = true
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueAxios,axios);

/* eslint-disable no-new */
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
